//
//  ObProfileUpdateRequest.m
//  Rockval
//
//  Created by TuanNT on 5/1/14.
//  Copyright (c) 2014 TNL. All rights reserved.
//

#import "ObProfileUpdateRequest.h"

@implementation ObProfileUpdateRequest
- (id) initWith:(NSString *)proccess andfirstName:(NSString *)firstName andLastName:(NSString *)lastName andCompany:(NSString *)company andWebsite:(NSString *)website andPostpos:(NSString *)postpos andEmail:(NSString *)email andTelephone:(NSString *)telephone andPrefix:(NSString *)prefix andFax:(NSString *)fax andIdRole:(NSInteger)idRole andStreet:(NSString *)streetName andCountryCode:(NSInteger)countryCode andState:(NSInteger)stateCode andCity:(NSString *)cityName andPostCode:(NSString *)postCode andNewsLetter:(NSString *)letter{
    if (self) {
        self.processType = proccess;
        self.fisrtName = firstName;
        self.lastName = lastName;
        self.company = company;
        self.website = website;
        self.postpos = postpos;
        self.email = email;
        self.telephone = telephone;
        self.prefix = prefix;
        self.fax = fax;
        self.idRole = idRole;
        self.streetAddress = streetName;
        self.idCountry = countryCode;
        self.idState = stateCode;
        self.city = cityName;
        self.postCode = postCode;
        self.newsLetter = letter;
    }
    return self;
}
@end
